﻿using ClientTools.Library.DataTypes.Umbraco;

namespace ClientTools.Library.Interfaces
{
    public interface IMedia
    {
        NodeCollection GetRootMedias(bool recursive);
        NodeCollection GetMedias(int parentId, bool recursive);
        bool DeleteMedia(int mediaId);
        Node CreateImage(int parentId, string fileName, byte[] content);
        Node CreateFile(int parentId, string fileName, byte[] content);
        Node CreateFolder(int parentId, string folderName);
    }
}
